package com.triones.yjj.entity.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 员工列表 查询
 *
 * @Author: triones
 */
@Data
public class WxStaffRegisterParams {
    /**
     * 员工姓名
     */
    @NotBlank(message = "员工姓名不能为空")
    private String realname;
    /**
     * 员工手机号
     */
    @NotBlank(message = "员工手机号不能为空")
    private String mobile;
    /**
     * 微信二维码
     */
   // private String wxQrCode;
    /**
     * openid
     */
    @NotBlank(message = "openId不能为空")
    private String openId;

    @NotNull(message = "系统ID不能为空")
    private Long userId;

    /**
     * 是否开启核销权限
     */
    @NotNull(message = "是否开启核销权不能为空")
    @Min(value = 0, message = "核销权限1开启0关闭")
    @Max(value = 1, message = "核销权限1开启0关闭")
    private Integer isVerification;
}
